<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>

	<script type="text/javascript">


	var bottle = {
    	name: '太空杯',
    	price: 49,
    	isKeepWarm: false
    };


    var bottle = createBottle('太空杯', 49, false);
    var bottle2 = createBottle('bottle', 49, true);
    var bottle3 = createBottle('bottle', 59, true);


    function createBottle(name, price, isKeepWarm) {
    	return {
    		name: name,
    		price: price,
    		isKeepWarm: isKeepWarm
    	};
    }

    typeof 1
    typeof true
    typeof '保温杯'

    typeof bottle

	</script>


</head>
<body>
	<p>请用 f12 查看此 html 的script标签</p>
</body>
</html>